package com.hermes.action.json;

import com.hermes.biz.manager.usermodelextra.UserModelExtraManager;
import com.hermes.common.action.AsynBaseAction;
import com.hermes.common.util.ParameterParserUtil;

public class AsynGetUserInfo extends AsynBaseAction{
	
	UserModelExtraManager userModelExtraManager;
	
	private static final long serialVersionUID = 4576336969070199220L;
	public long fansCount = 0;
	public long eyeonCount = 0;
	@Override
	public String execute() throws Exception {
		String userid = null;
		userid = ParameterParserUtil.getParameter("userid");
		fansCount = userModelExtraManager.getFansCount(Long.valueOf(userid));	
		eyeonCount = userModelExtraManager.getEyeonCount(Long.valueOf(userid));
		return  "";
	}
	
	//getters and setters
	public UserModelExtraManager getUserModelExtraManager() {
		return userModelExtraManager;
	}
	public void setUserModelExtraManager(UserModelExtraManager userModelExtraManager) {
		this.userModelExtraManager = userModelExtraManager;
	}

}
